<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="generator" content="smart-doc">
    <title>Smart-Doc初体验</title>
    <link rel="stylesheet" href="font.css">
    <link rel="stylesheet" href="AllInOne.css?v=1649746143487"/>
    
    <style>.literalblock pre, .listingblock pre:not(.highlight), .listingblock pre[class="highlight"], .listingblock pre[class^="highlight "], .listingblock pre.CodeRay, .listingblock pre.prettyprint {
        background: #f7f7f8;
    }

    .hljs {
        padding: 0em;
    }</style>
    <script src="highlight.min.js"></script>
    <script src="jquery.min.js"></script>
</head>
<body class="book toc2 toc-left">
<div id="header"><h1>Smart-Doc初体验</h1>
    <div id="toc" class="toc2">
        <div id="book-search-input"><input id="search" type="text" placeholder="Type to search"></div>
        <div id="toctitle"><span>API Reference</span></div>
        <ul id="accordion" class="sectlevel1">
            <li class=""><a class="dd" href="api.html#header">1.&nbsp;</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="api.html#_1_1_">1.1.&nbsp;</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="GroupVaildController.html#header">2.&nbsp;</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="GroupVaildController.html#_2_1_">2.1.&nbsp;</a>
                    </li>

                    <li><a
                            href="GroupVaildController.html#_2_2_">2.2.&nbsp;</a>
                    </li>
                </ul>
            </li>
            <li class=""><a class="dd" href="VaildController.html#header">3.&nbsp;</a>
                <ul class="sectlevel2" style="display: none">
                    <li><a
                            href="VaildController.html#_3_1_">3.1.&nbsp;</a>
                    </li>
                </ul>
            </li>
            <li class="open"><a class="dd" href="RedisCacheController.html#header">4.&nbsp;</a>
                <ul class="sectlevel2" style="display: block">
                    <li><a
                            href="RedisCacheController.html#_4_1_">4.1.&nbsp;</a>
                    </li>

                    <li><a
                            href="RedisCacheController.html#_4_2_">4.2.&nbsp;</a>
                    </li>

                    <li><a
                            href="RedisCacheController.html#_4_3_">4.3.&nbsp;</a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</div>
<div id="content">
    <div class="sect1"><h2 id="_"><a class="anchor" href="#_"></a><a class="link" href="#_">4.&nbsp;</a>
    </h2>
        <div class="sectionbody">
            <div class="sect2"><h3 id="_4_1_">
                <a class="anchor" href="#_4_1_"></a>
                <a class="link" href="#_4_1_">4.1.&nbsp;</a>
            </h3>
                <div class="paragraph"><p><strong>URL:</strong><a href="/getData/fromCache" class="bare">&nbsp;/getData/fromCache</a>
                </p></div>
                <div class="paragraph"><p><strong>Type:</strong>&nbsp;GET</p></div>
                <div class="paragraph"><p><strong>Content-Type:</strong>&nbsp;application/x-www-form-urlencoded;charset=utf-8</p></div>
                <div class="paragraph"><p><strong>Description:</strong>&nbsp;null</p></div>
                <div class="paragraph"><p><strong>Request-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="bash">curl -X GET -i /getData/fromCache</code></pre>
                    </div>
                </div>
                <div class="paragraph"><p><strong>Response-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="json">{
  "mapKey1": "bwgajb",
  "mapKey2": "qiv5fw"
}</code></pre>
                    </div>
                </div>
            </div>

            <div class="sect2"><h3 id="_4_2_">
                <a class="anchor" href="#_4_2_"></a>
                <a class="link" href="#_4_2_">4.2.&nbsp;</a>
            </h3>
                <div class="paragraph"><p><strong>URL:</strong><a href="/getData/invalid" class="bare">&nbsp;/getData/invalid</a>
                </p></div>
                <div class="paragraph"><p><strong>Type:</strong>&nbsp;GET</p></div>
                <div class="paragraph"><p><strong>Content-Type:</strong>&nbsp;application/x-www-form-urlencoded;charset=utf-8</p></div>
                <div class="paragraph"><p><strong>Description:</strong>&nbsp;null</p></div>
                <div class="paragraph"><p><strong>Request-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="bash">curl -X GET -i /getData/invalid</code></pre>
                    </div>
                </div>
                <div class="paragraph"><p><strong>Response-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="json">{
  "mapKey1": "jwz13h",
  "mapKey2": "c3disk"
}</code></pre>
                    </div>
                </div>
            </div>

            <div class="sect2"><h3 id="_4_3_">
                <a class="anchor" href="#_4_3_"></a>
                <a class="link" href="#_4_3_">4.3.&nbsp;</a>
            </h3>
                <div class="paragraph"><p><strong>URL:</strong><a href="/getData/doubleWrite" class="bare">&nbsp;/getData/doubleWrite</a>
                </p></div>
                <div class="paragraph"><p><strong>Type:</strong>&nbsp;GET</p></div>
                <div class="paragraph"><p><strong>Content-Type:</strong>&nbsp;application/x-www-form-urlencoded;charset=utf-8</p></div>
                <div class="paragraph"><p><strong>Description:</strong>&nbsp;null</p></div>
                <div class="paragraph"><p><strong>Request-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="bash">curl -X GET -i /getData/doubleWrite</code></pre>
                    </div>
                </div>
                <div class="paragraph"><p><strong>Response-example:</strong></p></div>
                <div class="listingblock">
                    <div class="content">
                        <pre><code class="json">{
  "mapKey1": "cts5b2",
  "mapKey2": "dt5xjo"
}</code></pre>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <footer class="page-footer"><span class="copyright">Generated by smart-doc at 2022-04-12 14:49:03</span><span
            class="footer-modification">Suggestions,contact,support and error reporting on<a
            href="https://gitee.com/smart-doc-team/smart-doc" target="_blank">&nbsp;Gitee</a>&nbsp;or<a
            href="https://github.com/smart-doc-group/smart-doc.git" target="_blank">&nbsp;Github</a></span></footer>
</div>
<script src="search.js?v=1649746143487"></script>
<script>
    $(function () {
        const Accordion = function (el, multiple) {
            this.el = el || {};
            this.multiple = multiple || false;
            const links = this.el.find('.dd');
            links.on('click', {el: this.el, multiple: this.multiple}, this.dropdown);
        };
        Accordion.prototype.dropdown = function (e) {
            const $el = e.data.el;
            const $this = $(this), $next = $this.next();
            $next.slideToggle();
            $this.parent().toggleClass('open');
            if (!e.data.multiple) {
                $el.find('.submenu').not($next).slideUp("20").parent().removeClass('open');
            }
        };
        new Accordion($('#accordion'), false);
        hljs.initHighlightingOnLoad()
    });
</script>
</body>
</html>
